#include <stdio.h>
int main(int argc, char const *argv[])
{
    int sum = 0;
    for (int i = 0; i < 101; i++)
    {
        /* code */
        sum += i;
        printf("i=%d,sum=%d\n", i, sum);
    }
    printf("1~100的综合为：%d", sum);

    return 0;
}
